package a.f.h.d;

import a.c.e;
import a.c.w;
import a.f.h.b.f;
import a.f.o;
import a.i.n;

import java.awt.*;

class x
  implements y
{
  private f a;
  private a.c.x b;
  private int c;
  
  public x(int paramInt)
  {
    this.c = paramInt;
  }
  
  public void a(f paramf)
  {
    int k = j.r;
    boolean bool = j.q;
    n.a(this, "Big Node Model !");
    this.a = paramf;
    o localo = (o)paramf.a();
    this.b = paramf.a().B();
    w localw = paramf.a().v();
    label155:
    label168:
    label237:
    label248:
    do
    {
      if (!localw.e()) {
        break;
      }
      e locale = localw.d();
      if (k == 0)
      {
        if (paramf.d(locale))
        {
          Dimension localDimension = null;
          int[] arrayOfInt = paramf.k(locale);
          if (k == 0)
          {
            if (arrayOfInt[0] <= 1)
            {
              if (k != 0) {
                break label155;
              }
              if (arrayOfInt[1] <= 1)
              {
                if (k != 0) {
                  break label155;
                }
                if (arrayOfInt[2] <= 1)
                {
                  if (k != 0) {
                    break label155;
                  }
                  if (arrayOfInt[3] <= 1) {
                    break label237;
                  }
                }
              }
            }
            if (k != 0) {
              break label168;
            }
          }
          int i = arrayOfInt[1] > arrayOfInt[3] ? arrayOfInt[1] : arrayOfInt[3];
          if (k == 0) {}
          int j = arrayOfInt[0] > arrayOfInt[2] ? arrayOfInt[0] : arrayOfInt[2];
          if (k == 0) {
            if (i > 0) {
              i--;
            }
          }
          if (j > 0) {
            j--;
          }
          localDimension = new Dimension(j, i);
          break label248;
          localDimension = new Dimension(0, 0);
          this.b.a(locale, localDimension);
          localo.b(locale, localDimension.width * this.c + this.c / 2, localDimension.height * this.c + this.c / 2);
        }
        localw.f();
      }
    } while (!bool);
  }
  
  public boolean a()
  {
    return false;
  }
  
  public boolean a(e parame)
  {
    return this.a.d(parame);
  }
  
  public int c(e parame)
  {
    Dimension localDimension = (Dimension)this.b.get(parame);
    return localDimension.width;
  }
  
  public int d(e parame)
  {
    Dimension localDimension = (Dimension)this.b.get(parame);
    return localDimension.height;
  }
  
  public boolean b(e parame)
  {
    return a(parame);
  }
  
  public double b()
  {
    return 1.0D;
  }
  
  public int c()
  {
    return 1;
  }
  
  public boolean d()
  {
    return false;
  }
  
  public int e(e parame)
  {
    return 0;
  }
  
  public int f(e parame)
  {
    return 0;
  }
  
  public void e()
  {
    this.a.a().a(this.b);
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.h.d.getDefaultLicenseInfoEx

 * JD-Core Version:    0.7.0.1

 */